/**
 * 
 */
package com.gpms.service.Topics;

/**
 * @author laborc
 *
 */
public class TopicsOperateFactory {
	public static ITopicsOperate createOperate(String type)
	{
		ITopicsOperate operate=null;
		if("student".equals(type))
		{
			operate = new StudentTopicsOperate();
		}else if("teacher".equals(type))
		{
			operate = new TeacherTopicsOperate();
		}else if("autiding".equals(type))
		{
			operate = new AutidingTopicsOperate();
		}
		return operate;
	}
}
